//
//  LSTableViewCell.m
//  ReactiveCocoa
//
//  Created by 李松 on 2017/12/3.
//  Copyright © 2017年 lisong. All rights reserved.
//

#import "LSTableViewCell.h"
#import "Config.h"
#import "WeiboItem.h"

@interface LSTableViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *headImage;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *detailLabel;

@end

@implementation LSTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setValueWithDic:(WeiboItem *)weiboItem{
    
    [_headImage sd_setImageWithURL:weiboItem.imageUrl placeholderImage:nil];
    _titleLabel.text = weiboItem.userName;
    _detailLabel.text = weiboItem.userName;
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
